{% extends "sharkdata_form_base.html" %}

{% block title %}SHARKdata - Delete all datasets{% endblock %}

{% block header %}Datasets{% endblock %}

{% block content %}

    <div class="panel panel-default">
        <div class="panel-heading">
            <h2 class="panel-title">Delete all datasets</h2>
        </div>
        <div class="panel-body">
            <p>Are you sure you want to delete all datasets from the database?<br>
               Select "Remove from FTP" if you also want to delete all datasets in the FTP-area.
            
            </p>
            <form class="sharkdata-form" enctype="multipart/form-data" method="post" action="datasets_delete_all">
            	{% csrf_token %}
                {{ form.as_p }}
                <p class="sharkdata-form-actions">
                    <button class="btn btn-primary" type="submit">Yes</button>
                    <a class="btn btn-default" href="/sharkdataadmin">Cancel</a>
                </p>
            </form>
        </div>
    </div>

{% endblock %}